package com.example.eeuse.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.dromara.easyes.annotation.IndexField;
import org.dromara.easyes.annotation.IndexId;
import org.dromara.easyes.annotation.IndexName;
import org.dromara.easyes.annotation.rely.IdType;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@IndexName("snapshot-veda")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class EsVedaSnapshot {

    @IndexId(type=IdType.CUSTOMIZE)
    private String id;

    @IndexField("VAL")
    private String val;
}
